package com.example.communitypro.mapper;

import com.example.communitypro.pojo.UserResource;

import java.util.List;

public interface UserResourceMapper {

    int deleteResource(int user_resource_no);
    int insertResource(UserResource userResource);
    int updateResource(UserResource userResource);
    List<UserResource> findAll();
    UserResource findByUserResourceNo(int user_resource_no);



    /**
     *系统自动生成
     */
    int deleteByPrimaryKey(Integer userResourceNo);

    int insert(UserResource record);

    int insertSelective(UserResource record);

    UserResource selectByPrimaryKey(Integer userResourceNo);

    int updateByPrimaryKeySelective(UserResource record);

    int updateByPrimaryKey(UserResource record);
}
